/************************************************************
 * Project Name         [Thinking_In_Java]
 * File Name            [Task.java]
 * Creation Date        [04-Jul-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_08_thread.thread_pool;

/**
 * 任务接口
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public interface Task {

	/**
	 * 执行任务
	 * 
	 * @throws Exception
	 *             执行过程中可能出现的异常
	 */
	void perform() throws Exception;
}
